package org.swift.commons.deployer.security;

import java.util.Collection;
import java.util.Map;

public interface UserInfo {
	public Map<String, Object> getUserAttributes();
	public boolean hasPermission(String permission);
	public Collection<String> getPermissions();
	public String getUsername();
	public String getName();
	public String getResources(String resourceType, String scope, String action);
	public String getResources(String resourceType, String scope);
	public String getResources(String resourceType);
}
